﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ESoft.RabbitMQ;

namespace SampleWeb
{
    [RabbitBinding(QueueName = "test1", RouteKey = "test01")]
    public class MyConsumer1 : IConsumer
    {
        public void OnRecieve(IPayload payload)
        {
            Console.WriteLine("pa");
        }
    }
}
